package com.k1ccc0.alumniinformationmanagement.service;

import com.k1ccc0.alumniinformationmanagement.pojo.Alumni;
import com.k1ccc0.alumniinformationmanagement.pojo.PageBean;
import org.springframework.stereotype.Component;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Component
public interface AlumniService {
    PageBean selectByPage(Integer page, Integer pageSize, String name, String username, Short gender, String major,
                                 String department, String nativePlace, String phoneNumber, String email);

    Alumni userLogin(Alumni alumni);

    void update(Alumni alumni);

    Alumni selectUserInfo(String username);

    Alumni selectUserInfoByUAndP(String username);

    void updateAvatar(Alumni alumni);

    void updateUsernameById(Alumni alumni);

    void updatePasswordById(Alumni alumni);

    void add(Alumni alumni);

    void delete(List<Integer> ids);
    
    List<Alumni> getAllAlumniLocations();
}
